package com.sse.product.rbac.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sse.product.rbac.entity.Menus;
import com.sse.product.rbac.entity.Role;
import com.sse.product.rbac.entity.RoleMenus;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author junyongli
 * @since 2022-07-22
 */
public interface IRoleMenusService extends IService<RoleMenus> {
    List<Menus> queryMenuByRoleId(Long roleId);

    Boolean addRoleMenu(Role role, List<Menus> menusList);
}
